From c66891680b364341d590fe6ed1b718da0f8ed768 Mon Sep 17 00:00:00 2001 From: GPSBabel <12013583+GPSBabelDeveloper@users.noreply.github.com> Date: Wed, 25 Oct 2023 21:19:55 -0500 Subject: [PATCH] Update (now archived) Oozy Rat from Geocaching.com in 2023 (#1196) * Update (now archived) Oozy Rat from Geocaching.com in 2023 * Replace GCGCA* (Ooozy Rat) with 2023 version from Groundspeak. * Regenerate all reference files. * Nail TZ in geocache logs in text, html to GMT. This has been a problem that's plagued geocaching apps forever --------- Co-authored-by: Robert Lipe --- html.cc | 2 +- reference/earth-gc.kml | 66 ++++++---- reference/gc/GCGCA8-encoded.txt | 6 +- reference/gc/GCGCA8.gpx | 220 +++++++++++++++++++++++++------- reference/gc/GCGCA8.html | 40 +++--- reference/gc/GCGCA8.txt | 6 +- reference/gc/GCGCA8_logs.html | 111 ++++++++++++---- reference/gc/GCGCA8~vcard.vcf | 4 +- text.cc | 2 +- 9 files changed, 332 insertions(+), 125 deletions(-) diff --git a/html.cc b/html.cc index 3273a1d96..0385c2687 100644 --- a/html.cc +++ b/html.cc @@ -168,7 +168,7 @@ HtmlFormat::html_disp(const Waypoint* wpt) const logpart = curlog->xml_findfirst(u"groundspeak:date"); if (logpart) { - gpsbabel::DateTime logtime = xml_parse_time(logpart->cdata).toLocalTime(); + gpsbabel::DateTime logtime = xml_parse_time(logpart->cdata).toUTC(); *file_out << "" << logtime.toString(u"yyyy-MM-dd") << "
\n"; } diff --git a/reference/earth-gc.kml b/reference/earth-gc.kml index 94d1bfde0..9fe1aa587 100644 --- a/reference/earth-gc.kml +++ b/reference/earth-gc.kml @@ -5,11 +5,11 @@ 2002-08-15T07:00:00Z - 2003-06-29T07:00:00Z + 2003-06-29T00:00:00Z - -79.930833 + -79.930834 41.027500 - 2109328.437865 + 2109328.427385